import request from '@/utils/request'

// 获取商圈下销量前10的商品(补货推荐)
export const getTop = (time) => request.get(`/api/order-service/report/skuTop/10/${time}`)

// ordercount接口
export const getOrderCount = (start, end) => request.get(`/api/order-service/report/orderCount/?start=${start}&end=${end}`)

// orderAmount
export const getOrderAmount = (start, end) => request.get(`/api/order-service/report/orderAmount/?start=${start}&end=${end}`)

// 工单接口
export const getTaskReport = (start, end) => request.get(`/api/task-service/task/taskReportInfo/${start}%2000:00:00/${end}%2023:59:59`)
